package com.zsy.petshop_01.service;

import com.zsy.petshop_01.common.result.ResponseResult;

import javax.servlet.http.HttpServletRequest;

public interface OrderService {
    ResponseResult<?> selectPageOrder(Integer currentPage, Integer pageSize, Integer userId, String time, Boolean isDispose, Boolean isAccomplish);

    ResponseResult<?> selectPageUserOrder(Integer currentPage, Integer pageSize, String time, Boolean isDispose, Boolean isAccomplish, HttpServletRequest request);

    ResponseResult<?> disposeOrder(Integer id);

    ResponseResult<?> accomplishOrder(Integer id);

    ResponseResult<?> cancelOrder(Integer id,String reason);
}
